<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
   xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui" xmlns:pb="http://b2b.pb.com/tags"
   xmlns:pbc="http://java.sun.com/jsf/composite/component">

<ui:composition template="/template/MainTemplate.xhtml">
   <ui:define name="body">
      <pb:saveBean beanName="markBean" bean="#{markBean}" />
      <p>
         <h:outputText value="#{markBundle.create_mark_confirm_msg}" />
      </p>
      <p:panel header="#{markBundle.create_mark_tbl_header}">
         <p:panelGrid columns="2" styleClass="confirm" columnClasses="confirmCol1,confirmCol2">
            <h:outputText value="#{markBundle.lbl_mark_name}" />
            <h:outputText value="#{markBean.selectedMark.name}" />

            <h:outputText rendered="#{markBean.changeImage}" value="#{markBundle.lbl_mark_logo}" />
            <p:graphicImage rendered="#{markBean.changeImage}" value="#{markBean.logo}" width="30" height="30"/>

            <h:outputText value="#{markBundle.lbl_mark_status}" />
            <h:outputText value="#{markBean.selectedMark.status}" />
         </p:panelGrid>
      </p:panel>

      <pbc:buttonGroup executeAction="#{markBean.executeAction}" executeBtnShow="true"
         backAction="#{markBean.backAction}" backBtnShow="true" cancelAction="#{markBean.cancelAction}"
         cancelBtnShow="true" />
   </ui:define>
</ui:composition>
</html>